import { ItemData } from "../../resource/info/ItemData";
type int = number;
//class RewardInfo
    
    export  class RewardInfo
    {
        constructor(arg1: int, arg2: int, arg3: int, arg4: int, arg5: Boolean)
        {
            
            this.index = arg1;
            this.itemdata = new ItemData(arg4);
            this.startId = arg2;
            this.endId = arg3;
            this.isCross = arg5;
            if (arg2 != arg3) 
            {
                this.key = arg2 + "--" + arg3;
            }
            else 
            {
                this.key = String(arg2);
            }
            return;
        }

        public /* var */index: int;

        public /* var */itemdata: ItemData;

        public /* var */key: string;

        public /* var */startId: int;

        public /* var */endId: int;

        public /* var */isCross: Boolean;
    }
